<template>
	<div class="box">
		<center>
			<h1>Any</h1>
			<p>导航守卫dome，从此页面跳转到Main页面时，会校验浏览器中是否有token，有则放行，无则跳转Login</p>
			<router-link to="/Main">Main</router-link>
			<br >
			<router-link to="/Login">Login</router-link>
			<hr />
			<router-view></router-view>
		</center>
	</div>
</template>

<script>
</script>

<style scoped>
	.box{
		height: 700px;
		background-color: cornflowerblue;
	}
</style>